Deletes the jobs contained in a group and its child groups.
HRESULT DeleteMembers([in,defaultvalue(0)] VARIANT_BOOL terminateActiveInstances);
DeleteMembers([in,defaultvalue(0)] VARIANT_BOOL terminateActiveInstances);
Sub DeleteMembers(terminateActiveInstances As [in,defaultvalue(0)] VARIANT_BOOL)
|
Parameters |
Description |
|
[in,defaultvalue(0)] VARIANT_BOOL terminateActiveInstances |
If True, any active instances of the jobs will be terminated. If False, the job templates will be deleted but the instances will be allowed to run to completion. |
When a group is deleted (using IADTIndependentObject::Delete), all of its child groups are deleted as well. The jobs in the group and its subgroups, however, are not deleted: they are removed from the group(s), so they are returned to the root level.
If you want to delete the jobs as well, call DeleteMembers before calling Delete.
|
adTempus API Reference version 3.0.0.0, revised 10/30/2008
|